$swiperHeight: 407px;
$swiperWidth: 750px;
$borderRadius20: 20px;
$borderRadius10: 10px;
$defaultColor: #ffb72f;
$defaultFontSize: 29px;
$defaultMultipleFontSize: 6px;
/*门店名称和服务*/
.fix-shop-nav-container {
  position: fixed;
  top: 182px;
  z-index: 1;
  background-color: whitesmoke;
}
.shop-item {
  //margin: 15px 0;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*门店信息*/
.fix-shop-nav {
  //transition: all linear 0.2s;
  width: $swiperWidth;
  margin: 0 auto;
  background-color: white;
  position: relative;
  z-index: 1;
  padding: 0 20px;
  .shop-header {
    display: flex;
    align-content: center;
    position: relative;
    padding: 15px 0;
    &-name {
      width: 410px;
      line-height: 50px;
      //text-indent: 10px;
      text-align: left;
      flex: 1;
      font-weight: bold;
      font-size: calc($defaultFontSize + $defaultMultipleFontSize);
    }
    &-service-right {
      font-size: calc($defaultFontSize);
      display: flex;
      align-items: center;
    }
    &-logo {
      width: 50px;
      height: 50px;
      border-radius: 99px;
    }
  }
  .shop-state {
    margin-top: 20px;
    font-size: $defaultFontSize;
    //font-weight: 500;
    text {
      //margin-right: 10px;
    }
  }
  .shop-tags {
    display: flex;
    flex-wrap: wrap;
    &-box {
      width: 100%;
      height: 48px;
      overflow: hidden;
      margin-top: -10px;
      margin-bottom: 20px;
    }
    &-tag {
      margin-right: 10px;
      margin-bottom: 10px;
      border: 1px solid rgba(19, 19, 19, 0.1);
      font-size: 24px;
      padding: 10px;
      border-radius: $borderRadius10;
      background-color: rgba(19, 19, 19, 0.02);
    }
  }
  .shop-map {
    height: 108px;
    position: relative;
    font-size: $defaultFontSize;
    &-bg {
      width: calc($swiperWidth - 40px);
      height: 108px;
      border-radius: 13px;
    }
    &-address-img {
      width: 51px;
      height: 51px;
      margin-left: 37px;
    }
    ._h3 {
      width: 100%;
      //margin-left: 25px;
      font-size: $defaultFontSize;
      font-weight: 400;
      color: rgba(9, 9, 9, 1);
    }
    &-btn {
      text-align: center;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 200px;
      button {
        width: 48px;
        height: 48px;
        border-radius: 99px;
        background-color: transparent;
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .contact {
        width: 48px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
    &-content {
      &-way {
        margin-top: 10px;
        color: #888888;
      }
      &-address,
      &-way {
        width: 530px;
      }
    }
  }
  .shop-tips {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: $defaultFontSize;
    font-weight: 500;
    &-show {
      white-space: normal !important;
      overflow: auto !important;
    }
  }
}

.fix-shop-nav-nav-tabs {
  background-color: white;
  padding-bottom: 10px;
  margin-top: 20px;
  &-tabs {
    display: flex;
    align-items: center;
    background-color: white;
    //padding: 20px 0;
    padding-bottom: 20px;
  }
  &_fixed {
    position: fixed;
    background-color: white;
    width: 100vw;
    z-index: 2;
    transition: all 0.3s linear 0s;
  }
  &-tab {
    flex: 1;
    text-align: center;
    background-color: white;
    text {
      padding: 15px 0;
    }
  }
  &-tab_actived {
    border-bottom: 5px solid $defaultColor;
  }
  /*城市选择和搜索框*/
  &-search-nav {
    margin: 35px auto;
    position: relative;
    width: 707px;
    height: 88px;
    background: #f5f5f5;
    border-radius: 44px;
    box-sizing: border-box;
    border: 1px solid #f5f5f5;
    display: flex;
    font-size: $defaultFontSize;
    align-items: center;
    //padding: 0 15px;
    .search-input {
      width: 686px;
      padding: 0 14px;
      height: 100%;
      border-radius: 44px;
      font-size: $defaultFontSize;
      font-weight: 400;
      color: rgba(163, 163, 163, 1);
    }
    .input-hold {
      //hold默认显示的标题
      //position: absolute;
      //top: 50%;
      //left: 10%;
      //transform: translate(-10%, -50%);
      margin-left: 21px;
      z-index: 10;
      .rt-icon {
        width: 27px;
        height: 27px;
      }
      ._h3 {
        width: 200px;
        margin-left: 14px;
        font-size: $defaultFontSize;
        color: #3d3d3d;
        opacity: 0.4;
        line-height: 19px;
      }
    }
  }
}

.youjiantou {
  display: inline-block;
  width: 32px;
  height: 32px;
}
